
<%@page contentType="text/html"%>
<%@page pageEncoding="ISO-8859-1"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<jsp:useBean id="ingredientManager" scope="request" class="com.ifips5.nal.epizza.web.IngredientManager" />
<c:set var="currentIngredient" value="${ingredientManager.currentIngredient}" />


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Inscription</title>
        <c:url var="urlCss" value="/main.css" />
        <link rel="stylesheet" type="text/css" href="${urlCss}" media="screen" />
    </head>
    <body>
   <div id="header">
           <c:url var="urlLogo" value="/img/Logo.jpg" />
           <img id="logo" src="${urlLogo}" alt="ePizza" title="Vente de Pizzas en ligne" />
       </div> 

        <div id="menu">
            <c:url var="url" value="/Admin" />
            <a href="${url}">Admin</a>
            
            <c:url var="url" value="/Home" />
            <a href="${url}">Home</a>

            <c:url var="url" value="/Admin/Pizzas" />
            <a href="${url}">Pizzas</a>
            
        </div>
        <div id="content">
            
            
    
    <h2>Inscription</h2>
    <c:url var="url" value="/Inscription" />
    <form action="${url}" method="post" >
        <label for="name">Nom :</label>        
        <input type="text" name="name" id="name" /><br />
        
        <label for="pwd">Password :</label>        
        <input type="text" name="pwd" id="pwd" /><br />

        <label for="tel">Tel :</label>        
        <input type="text" name="tel" id="tel" /><br />

        <label for="addr">Addresse :</label>        
        <input type="text" name="addr" id="addr" /><br />
        
        <input type="submit" value="S'inscrire"/>
    </form>
    
    
    </body>
</html>
